home *** CD-ROM | disk | FTP | other *** search
-
-
-
- mmmmttttuuuunnnneeee((((4444)))) mmmmttttuuuunnnneeee((((4444))))
-
-
-
- NNNNAAAAMMMMEEEE
- mtune - default system tunable parameters
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The directory _////_vvvv_aaaa_rrrr_////_ssss_yyyy_ssss_gggg_eeee_nnnn_////_mmmm_tttt_uuuu_nnnn_eeee contains information about all the system
- tunable parameters, including default values. The files in this
- directory should never be changed. Instead, use the _ssss_yyyy_ssss_tttt_uuuu_nnnn_eeee(1M) utility
- to change parameters in the _////_vvvv_aaaa_rrrr_////_ssss_yyyy_ssss_gggg_eeee_nnnn_////_ssss_tttt_uuuu_nnnn_eeee file.
-
- Each loadable module can have its own _mmmm_tttt_uuuu_nnnn_eeee file, which is placed in the
- _mmmm_tttt_uuuu_nnnn_eeee directory and has the same name as the module. Parameters in an
- _mmmm_tttt_uuuu_nnnn_eeee file may be grouped together in groups, according to the nature of
- the parameters. For example, all parameters dealing with the number of
- processes that can run on the system at any given time are grouped
- together in the _nnnn_uuuu_mmmm_pppp_rrrr_oooo_cccc group in the _kkkk_eeee_rrrr_nnnn_eeee_llll module. The syntax of an
- _mmmm_tttt_uuuu_nnnn_eeee module file is given below:
-
- [_g_r_o_u_p__n_a_m_e: [_f_l_a_g]]
- _p_a_r_a_m_e_t_e_r__c_l_a_u_s_e_s
-
- Names that end with a colon character, _::::, are group names. Parameters
- can be grouped together in groups so that one sanity checking function
- can be used to verify the values and the dependencies between these
- variables. The group name is optional if there is only one group in the
- module. For this case, the configuration tools use the module name as
- the group name.
-
- The group name is followed by a flag. The flag can be either _rrrr_uuuu_nnnn or
- _ssss_tttt_aaaa_tttt_iiii_cccc. If the flag is _rrrr_uuuu_nnnn, this group of tunable variables can be
- changed with the command _ssss_yyyy_ssss_tttt_uuuu_nnnn_eeee on a running system. Otherwise, the
- variables are set at initialization time and can be changed only by
- creating a new kernel and booting that kernel. Modules with no group
- specifier or a group specifier without a flag default to _ssss_tttt_aaaa_tttt_iiii_cccc.
-
- Each tunable parameter is specified by a single line, a parameter clause,
- in the file. Blank lines and lines beginning with _#### or _**** are considered
- comments and are ignored. The syntax for each line is:
-
- _n_a_m_e[,_t_a_g] _d_e_f_a_u_l_t__v_a_l_u_e [[_m_i_n__v_a_l_u_e [_m_a_x__v_a_l_u_e [ll|LL]]
-
- _n_a_m_e The name of the tunable parameter. It is used to pass
- the value to the system when a kernel is built or
- changed by _ssss_yyyy_ssss_tttt_uuuu_nnnn_eeee command. Since this name is made
- into a global variable name, using a long descriptive
- name is useful to avoid any name collisions.
-
- _t_a_g This optional field is separated from _n_a_m_e by a comma.
- It is used to qualify whether the tunable parameter
- should be used in the configuration being built. This
- allows a single _tttt_uuuu_nnnn_eeee file to be used in multiple
- different configurations. Parameters without any _t_a_g
- are always used, those with a _t_a_g are only used if the
-
-
-
- PPPPaaaaggggeeee 1111
-
-
-
-
-
-
- mmmmttttuuuunnnneeee((((4444)))) mmmmttttuuuunnnneeee((((4444))))
-
-
-
- tag matches one of the _t_a_gs specified in the _ssss_yyyy_ssss_tttt_eeee_mmmm file
- (see _ssss_yyyy_ssss_tttt_eeee_mmmm(4)). Only one _t_a_g is permitted on a given
- line.
-
- _d_e_f_a_u_l_t__v_a_l_u_e The default value of the tunable parameter. If the
- value is not specified in the _ssss_tttt_uuuu_nnnn_eeee file, this value is
- used when the system is built. This value is mandatory.
-
- _m_i_n__v_a_l_u_e The minimum allowable value for the tunable parameter.
- If the parameter is set in the _ssss_tttt_uuuu_nnnn_eeee file, the _llll_bbbb_oooo_oooo_tttt
- command checks that the new value is equal to or greater
- than this value. The command _ssss_yyyy_ssss_tttt_uuuu_nnnn_eeee also verifies the
- new value against this value before changing the system.
- This field is optional; a value of 0 is equivalent to
- not specifying a value.
-
- _m_a_x__v_a_l_u_e The maximum allowable value for the tunable parameter.
- If the parameter is set in the _ssss_tttt_uuuu_nnnn_eeee file, the _llll_bbbb_oooo_oooo_tttt
- command checks that the new value is equal to or less
- than this value. The command _ssss_yyyy_ssss_tttt_uuuu_nnnn_eeee also verifies the
- new value against this value before changing the system.
- This field is optional; a value of 0 is equivalent to
- not specifying a value.
-
- _llll_llll|_LLLL_LLLL By default, each tunable parameter is represented by an
- global variable in the kernel of type int (32 bits).
- Some tunable parameters may need to be specified as 64
- bit quantities. Adding an _llll_llll or _LLLL_LLLL to the end of the
- parameter specification causes _llll_bbbb_oooo_oooo_tttt to represent the
- parameter as a _llll_oooo_nnnn_gggg _llll_oooo_nnnn_gggg.
-
- FFFFIIIILLLLEEEESSSS
- /var/sysgen/mtune/* default system tunable parameters
- /var/sysgen/stune local settings for system tunable parameters
- /var/sysgen/system/* master system configuration files
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- lboot(1M), systune(1M), stune(4), system(4).
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- PPPPaaaaggggeeee 2222
-
-
-
-